package com.skt.manage.mapper;

import java.util.List;
import com.skt.manage.domain.Appointments;

/**
 * 挂号预约Mapper接口
 * 
 * @author ffbaby
 * @date 2025-02-22
 */
public interface AppointmentsMapper 
{
    /**
     * 查询挂号预约
     * 
     * @param appointmentId 挂号预约主键
     * @return 挂号预约
     */
    public Appointments selectAppointmentsByAppointmentId(Long appointmentId);

    /**
     * 查询挂号预约列表
     * 
     * @param appointments 挂号预约
     * @return 挂号预约集合
     */
    public List<Appointments> selectAppointmentsList(Appointments appointments);

    /**
     * 新增挂号预约
     * 
     * @param appointments 挂号预约
     * @return 结果
     */
    public int insertAppointments(Appointments appointments);

    /**
     * 修改挂号预约
     * 
     * @param appointments 挂号预约
     * @return 结果
     */
    public int updateAppointments(Appointments appointments);

    /**
     * 删除挂号预约
     * 
     * @param appointmentId 挂号预约主键
     * @return 结果
     */
    public int deleteAppointmentsByAppointmentId(Long appointmentId);

    /**
     * 批量删除挂号预约
     * 
     * @param appointmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppointmentsByAppointmentIds(Long[] appointmentIds);
}
